[PATCH] [dunecontrol] Module without CMakeLists.txt next to dune.module is installed
authorMarkus Blatt <markus@dr-blatt.de>
Wed, 20 Nov 2024 11:10:33 +0000 (12:10 +0100)
committerMarkus Blatt <markus@dr-blatt.de>
Sun, 7 Dec 2025 16:19:24 +0000 (17:19 +0100)
commit81d4542ecaa971302b3344f04d83599e323f25e2
tree1f3a4abc810abb42a2bf2de91011c852ee94533e
parent04fcf67d08706d91b5b24a8ed399f2041b8eb9ed
[PATCH] [dunecontrol] Module without CMakeLists.txt next to dune.module is installed

The decision whether a module is installed is usually based on whether
pkgconfig was able to find it. If the DUNE module does not ship  a
pkgconf file or pkgconf is missing, then dunecontrol tries to build
this installed modules, too. That fails miserably.

With this commit we add a check at the end that checks whether
there is a CMakeLists.txt file in the source directory of the
module. This directory is where the dune.module file was found. If
there is none we also assume that the module is installed and do not
try to build it.

Gbp-Pq: Name dunecontrol-Module-without-CMakeLists.txt-next-to-du.patch
lib/dunemodules.lib